package com.tanhua.commons.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * sms短信模板类，用于封装阿里云短信相关的配置
 * @author anshuai
 * @create 2021-01-24 15:54
 */
@Data
@ConfigurationProperties(prefix = "tanhua.sms")
public class SmsProperties {

    //短信签名
    private String signName;
    //短信模板
    private String templateCode;

    private String accessKey;

    private String secret;
}
